package com.accesshollywood.grfxOrdering.core;

public class CoreFootageSet {
	private String	path		= "";
	private int		idFootage	= -1;

	public synchronized String getPath() {
		return path;
	}

	public synchronized void setPath(String path) {
		this.path = path;
	}

	public synchronized int getIdFootage() {
		return idFootage;
	}

	public synchronized void setIdFootage(int idFootage) {
		this.idFootage = idFootage;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + idFootage;
		result = prime * result + ((path == null) ? 0 : path.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CoreFootageSet other = (CoreFootageSet) obj;
		if (idFootage != other.idFootage)
			return false;
		if (path == null) {
			if (other.path != null)
				return false;
		} else if (!path.equals(other.path))
			return false;
		return true;
	}
}
